package com.zp.base.service.examMaintenance;

import com.zp.base.api.vo.ExamVsClinicVo;
import com.zp.base.entity.examMaintenance.bo.ExamVsClinicBo;
import com.zp.common.myBatis.core.page.PageQuery;
import com.zp.common.myBatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 检查项目与诊疗项目对照Service接口
 *
 * @author zhang peng
 * @ date 2023-05-27
 */
public interface IExamVsClinicService {

    /**
     * 查询检查项目与诊疗项目对照
     */
    ExamVsClinicVo queryById (String id);

    /**
     * 查询检查项目与诊疗项目对照列表(分页)
     */
    TableDataInfo<ExamVsClinicVo> queryPageList (ExamVsClinicBo bo, PageQuery pageQuery);

    /**
     * 查询检查项目与诊疗项目对照列表(不分页)
     */
    List<ExamVsClinicVo> queryList (ExamVsClinicBo bo);

    /**
     * 修改检查项目与诊疗项目对照
     */
    Boolean insertByBo (ExamVsClinicBo bo);

    /**
     * 修改检查项目与诊疗项目对照
     */
    Boolean updateByBo (ExamVsClinicBo bo);

    /**
     * 校验并批量删除检查项目与诊疗项目对照信息
     */
    Boolean deleteWithValidByIds (Collection<String> ids, Boolean isValid);
}
